package com.naico.core.pojo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * User: Dawood Ajaz
 * Date: Dec 29, 2008
 * Time: 7:18:58 PM
 */
public class DebtInformationResult implements Serializable {
    private static final long serialVersionUID = 1L;
    private double totalDebtAmount;
    private double totalInterest;
    private double totalPayment;
    private List<PaymentPlan> paymentPlans = new ArrayList<PaymentPlan>();

    public double getTotalDebtAmount() {
        return totalDebtAmount;
    }

    public void setTotalDebtAmount(double totalDebtAmount) {
        this.totalDebtAmount = totalDebtAmount;
    }

    public double getTotalInterest() {
        return totalInterest;
    }

    public void setTotalInterest(double totalInterest) {
        this.totalInterest = totalInterest;
    }

    public double getTotalPayment() {
        return totalPayment;
    }

    public void setTotalPayment(double totalPayment) {
        this.totalPayment = totalPayment;
    }

    public void add(PaymentPlan paymentPlan) {
        this.paymentPlans.add(paymentPlan);
    }

    public List<PaymentPlan> getPaymentPlans() {
        return paymentPlans;
    }

    public void setPaymentPlans(List<PaymentPlan> paymentPlans) {
        this.paymentPlans = paymentPlans;
    }
}